#ifndef __SCNS_BSP_COLOR_C_H__
#define __SCNS_BSP_COLOR_C_H__

#include "ScnsColor.h"

#if defined(SCNS_COLOR_ENABLE)&&SCNS_COLOR_ENABLE==1

#define SCNS_COLOR_DEBUG                                                0
//color_convert_replace_start
#define SCNS_COLOR_CONVERT_FAST_ALL                                     1
#define SCNS_COLOR_CONVERT_FAST_BGR565_TO_RGB565                        0
#define SCNS_COLOR_CONVERT_FAST_RGB888_TO_RGB565                        0
#define SCNS_COLOR_CONVERT_FAST_BGR888_TO_RGB565                        0
#define SCNS_COLOR_CONVERT_FAST_ARGB8888_TO_RGB565                      1
#define SCNS_COLOR_CONVERT_FAST_ARGB4444_TO_RGB565                      0
#define SCNS_COLOR_CONVERT_FAST_ARGB1555_TO_RGB565                      1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P1221_TO_RGB565                  0
#define SCNS_COLOR_CONVERT_FAST_RGB666_P222_TO_RGB565                   0
#define SCNS_COLOR_CONVERT_FAST_RGB565_TO_BGR565                        0
#define SCNS_COLOR_CONVERT_FAST_RGB888_TO_BGR565                        0
#define SCNS_COLOR_CONVERT_FAST_BGR888_TO_BGR565                        0
#define SCNS_COLOR_CONVERT_FAST_ARGB8888_TO_BGR565                      0
#define SCNS_COLOR_CONVERT_FAST_ARGB4444_TO_BGR565                      0
#define SCNS_COLOR_CONVERT_FAST_ARGB1555_TO_BGR565                      1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P1221_TO_BGR565                  0
#define SCNS_COLOR_CONVERT_FAST_RGB666_P222_TO_BGR565                   0
#define SCNS_COLOR_CONVERT_FAST_RGB565_TO_RGB888                        0
#define SCNS_COLOR_CONVERT_FAST_BGR565_TO_RGB888                        0
#define SCNS_COLOR_CONVERT_FAST_BGR888_TO_RGB888                        0
#define SCNS_COLOR_CONVERT_FAST_ARGB8888_TO_RGB888                      0
#define SCNS_COLOR_CONVERT_FAST_ARGB4444_TO_RGB888                      0
#define SCNS_COLOR_CONVERT_FAST_ARGB1555_TO_RGB888                      1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P1221_TO_RGB888                  0
#define SCNS_COLOR_CONVERT_FAST_RGB666_P222_TO_RGB888                   0
#define SCNS_COLOR_CONVERT_FAST_RGB565_TO_BGR888                        0
#define SCNS_COLOR_CONVERT_FAST_BGR565_TO_BGR888                        0
#define SCNS_COLOR_CONVERT_FAST_RGB888_TO_BGR888                        0
#define SCNS_COLOR_CONVERT_FAST_ARGB8888_TO_BGR888                      0
#define SCNS_COLOR_CONVERT_FAST_ARGB4444_TO_BGR888                      0
#define SCNS_COLOR_CONVERT_FAST_ARGB1555_TO_BGR888                      1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P1221_TO_BGR888                  0
#define SCNS_COLOR_CONVERT_FAST_RGB666_P222_TO_BGR888                   0
#define SCNS_COLOR_CONVERT_FAST_RGB565_TO_ARGB8888                      0
#define SCNS_COLOR_CONVERT_FAST_BGR565_TO_ARGB8888                      0
#define SCNS_COLOR_CONVERT_FAST_RGB888_TO_ARGB8888                      0
#define SCNS_COLOR_CONVERT_FAST_BGR888_TO_ARGB8888                      0
#define SCNS_COLOR_CONVERT_FAST_ARGB4444_TO_ARGB8888                    0
#define SCNS_COLOR_CONVERT_FAST_ARGB1555_TO_ARGB8888                    1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P1221_TO_ARGB8888                1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P222_TO_ARGB8888                 0
#define SCNS_COLOR_CONVERT_FAST_RGB565_TO_ARGB4444                      0
#define SCNS_COLOR_CONVERT_FAST_BGR565_TO_ARGB4444                      0
#define SCNS_COLOR_CONVERT_FAST_RGB888_TO_ARGB4444                      0
#define SCNS_COLOR_CONVERT_FAST_BGR888_TO_ARGB4444                      0
#define SCNS_COLOR_CONVERT_FAST_ARGB8888_TO_ARGB4444                    0
#define SCNS_COLOR_CONVERT_FAST_ARGB1555_TO_ARGB4444                    1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P1221_TO_ARGB4444                0
#define SCNS_COLOR_CONVERT_FAST_RGB666_P222_TO_ARGB4444                 0
#define SCNS_COLOR_CONVERT_FAST_RGB565_TO_ARGB1555                      1
#define SCNS_COLOR_CONVERT_FAST_BGR565_TO_ARGB1555                      1
#define SCNS_COLOR_CONVERT_FAST_RGB888_TO_ARGB1555                      1
#define SCNS_COLOR_CONVERT_FAST_BGR888_TO_ARGB1555                      1
#define SCNS_COLOR_CONVERT_FAST_ARGB8888_TO_ARGB1555                    1
#define SCNS_COLOR_CONVERT_FAST_ARGB4444_TO_ARGB1555                    1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P1221_TO_ARGB1555                1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P222_TO_ARGB1555                 1
#define SCNS_COLOR_CONVERT_FAST_RGB565_TO_RGB666_P1221                  0
#define SCNS_COLOR_CONVERT_FAST_BGR565_TO_RGB666_P1221                  0
#define SCNS_COLOR_CONVERT_FAST_RGB888_TO_RGB666_P1221                  0
#define SCNS_COLOR_CONVERT_FAST_BGR888_TO_RGB666_P1221                  0
#define SCNS_COLOR_CONVERT_FAST_ARGB8888_TO_RGB666_P1221                0
#define SCNS_COLOR_CONVERT_FAST_ARGB4444_TO_RGB666_P1221                0
#define SCNS_COLOR_CONVERT_FAST_ARGB1555_TO_RGB666_P1221                1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P222_TO_RGB666_P1221             0
#define SCNS_COLOR_CONVERT_FAST_RGB565_TO_RGB666_P222                   0
#define SCNS_COLOR_CONVERT_FAST_BGR565_TO_RGB666_P222                   0
#define SCNS_COLOR_CONVERT_FAST_RGB888_TO_RGB666_P222                   0
#define SCNS_COLOR_CONVERT_FAST_BGR888_TO_RGB666_P222                   0
#define SCNS_COLOR_CONVERT_FAST_ARGB8888_TO_RGB666_P222                 0
#define SCNS_COLOR_CONVERT_FAST_ARGB4444_TO_RGB666_P222                 0
#define SCNS_COLOR_CONVERT_FAST_ARGB1555_TO_RGB666_P222                 1
#define SCNS_COLOR_CONVERT_FAST_RGB666_P1221_TO_RGB666_P222             0
//color_convert_replace_end
//color_minus_replace_start
#define SCNS_COLOR_MINUS_FAST_ALL                                       1
#define SCNS_COLOR_MINUS_FAST_BGR565_TO_RGB565                          0
#define SCNS_COLOR_MINUS_FAST_RGB888_TO_RGB565                          0
#define SCNS_COLOR_MINUS_FAST_BGR888_TO_RGB565                          0
#define SCNS_COLOR_MINUS_FAST_ARGB8888_TO_RGB565                        0
#define SCNS_COLOR_MINUS_FAST_ARGB4444_TO_RGB565                        0
#define SCNS_COLOR_MINUS_FAST_ARGB1555_TO_RGB565                        1
#define SCNS_COLOR_MINUS_FAST_RGB666_P1221_TO_RGB565                    0
#define SCNS_COLOR_MINUS_FAST_RGB666_P222_TO_RGB565                     0
#define SCNS_COLOR_MINUS_FAST_RGB565_TO_BGR565                          1
#define SCNS_COLOR_MINUS_FAST_RGB888_TO_BGR565                          0
#define SCNS_COLOR_MINUS_FAST_BGR888_TO_BGR565                          0
#define SCNS_COLOR_MINUS_FAST_ARGB8888_TO_BGR565                        0
#define SCNS_COLOR_MINUS_FAST_ARGB4444_TO_BGR565                        0
#define SCNS_COLOR_MINUS_FAST_ARGB1555_TO_BGR565                        1
#define SCNS_COLOR_MINUS_FAST_RGB666_P1221_TO_BGR565                    0
#define SCNS_COLOR_MINUS_FAST_RGB666_P222_TO_BGR565                     0
#define SCNS_COLOR_MINUS_FAST_RGB565_TO_RGB888                          0
#define SCNS_COLOR_MINUS_FAST_BGR565_TO_RGB888                          0
#define SCNS_COLOR_MINUS_FAST_BGR888_TO_RGB888                          0
#define SCNS_COLOR_MINUS_FAST_ARGB8888_TO_RGB888                        0
#define SCNS_COLOR_MINUS_FAST_ARGB4444_TO_RGB888                        0
#define SCNS_COLOR_MINUS_FAST_ARGB1555_TO_RGB888                        1
#define SCNS_COLOR_MINUS_FAST_RGB666_P1221_TO_RGB888                    0
#define SCNS_COLOR_MINUS_FAST_RGB666_P222_TO_RGB888                     0
#define SCNS_COLOR_MINUS_FAST_RGB565_TO_BGR888                          0
#define SCNS_COLOR_MINUS_FAST_BGR565_TO_BGR888                          0
#define SCNS_COLOR_MINUS_FAST_RGB888_TO_BGR888                          0
#define SCNS_COLOR_MINUS_FAST_ARGB8888_TO_BGR888                        0
#define SCNS_COLOR_MINUS_FAST_ARGB4444_TO_BGR888                        0
#define SCNS_COLOR_MINUS_FAST_ARGB1555_TO_BGR888                        1
#define SCNS_COLOR_MINUS_FAST_RGB666_P1221_TO_BGR888                    0
#define SCNS_COLOR_MINUS_FAST_RGB666_P222_TO_BGR888                     0
#define SCNS_COLOR_MINUS_FAST_RGB565_TO_ARGB8888                        0
#define SCNS_COLOR_MINUS_FAST_BGR565_TO_ARGB8888                        0
#define SCNS_COLOR_MINUS_FAST_RGB888_TO_ARGB8888                        0
#define SCNS_COLOR_MINUS_FAST_BGR888_TO_ARGB8888                        0
#define SCNS_COLOR_MINUS_FAST_ARGB4444_TO_ARGB8888                      0
#define SCNS_COLOR_MINUS_FAST_ARGB1555_TO_ARGB8888                      1
#define SCNS_COLOR_MINUS_FAST_RGB666_P1221_TO_ARGB8888                  0
#define SCNS_COLOR_MINUS_FAST_RGB666_P222_TO_ARGB8888                   0
#define SCNS_COLOR_MINUS_FAST_RGB565_TO_ARGB4444                        0
#define SCNS_COLOR_MINUS_FAST_BGR565_TO_ARGB4444                        0
#define SCNS_COLOR_MINUS_FAST_RGB888_TO_ARGB4444                        0
#define SCNS_COLOR_MINUS_FAST_BGR888_TO_ARGB4444                        0
#define SCNS_COLOR_MINUS_FAST_ARGB8888_TO_ARGB4444                      0
#define SCNS_COLOR_MINUS_FAST_ARGB1555_TO_ARGB4444                      1
#define SCNS_COLOR_MINUS_FAST_RGB666_P1221_TO_ARGB4444                  0
#define SCNS_COLOR_MINUS_FAST_RGB666_P222_TO_ARGB4444                   0
#define SCNS_COLOR_MINUS_FAST_RGB565_TO_ARGB1555                        1
#define SCNS_COLOR_MINUS_FAST_BGR565_TO_ARGB1555                        1
#define SCNS_COLOR_MINUS_FAST_RGB888_TO_ARGB1555                        1
#define SCNS_COLOR_MINUS_FAST_BGR888_TO_ARGB1555                        1
#define SCNS_COLOR_MINUS_FAST_ARGB8888_TO_ARGB1555                      1
#define SCNS_COLOR_MINUS_FAST_ARGB4444_TO_ARGB1555                      1
#define SCNS_COLOR_MINUS_FAST_RGB666_P1221_TO_ARGB1555                  1
#define SCNS_COLOR_MINUS_FAST_RGB666_P222_TO_ARGB1555                   1
#define SCNS_COLOR_MINUS_FAST_RGB565_TO_RGB666_P1221                    0
#define SCNS_COLOR_MINUS_FAST_BGR565_TO_RGB666_P1221                    0
#define SCNS_COLOR_MINUS_FAST_RGB888_TO_RGB666_P1221                    0
#define SCNS_COLOR_MINUS_FAST_BGR888_TO_RGB666_P1221                    0
#define SCNS_COLOR_MINUS_FAST_ARGB8888_TO_RGB666_P1221                  0
#define SCNS_COLOR_MINUS_FAST_ARGB4444_TO_RGB666_P1221                  0
#define SCNS_COLOR_MINUS_FAST_ARGB1555_TO_RGB666_P1221                  1
#define SCNS_COLOR_MINUS_FAST_RGB666_P222_TO_RGB666_P1221               0
#define SCNS_COLOR_MINUS_FAST_RGB565_TO_RGB666_P222                     0
#define SCNS_COLOR_MINUS_FAST_BGR565_TO_RGB666_P222                     0
#define SCNS_COLOR_MINUS_FAST_RGB888_TO_RGB666_P222                     0
#define SCNS_COLOR_MINUS_FAST_BGR888_TO_RGB666_P222                     0
#define SCNS_COLOR_MINUS_FAST_ARGB8888_TO_RGB666_P222                   0
#define SCNS_COLOR_MINUS_FAST_ARGB4444_TO_RGB666_P222                   0
#define SCNS_COLOR_MINUS_FAST_ARGB1555_TO_RGB666_P222                   1
#define SCNS_COLOR_MINUS_FAST_RGB666_P1221_TO_RGB666_P222               0
//color_minus_replace_end

#endif
#endif
